// 引入样式
//常态化样式,设置适用于大部分浏览器
require("../../assets/css/normalize.css");
//重置样式
require("../../assets/css/reset.css");
// 3.引入阿里矢量图
require("../../assets/fonts/iconfont.css");
//自身样式
require("./my_badge_detail.less");
//1.引入工具utils.js
const dom = require("../../utils/dom");
//2.引入axios
const axios = require("axios");
document.addEventListener("DOMContentLoaded", function () {
	// 点击回退按钮回到上一页
	dom.get(".icon-retreat").addEventListener("click", function () {
		history.back();
	});
	let a = JSON.parse(localStorage.getItem("info"));
	dom.get("#name").textContent = a[0].detail.name;
	dom.get("#info").textContent = a[0].detail.desc;
	dom.get("#time").textContent = a[0].date.replace(/-/g, ".");
});
